package com.cd.university.config.security.properties;

import com.cd.university.common.utils.JwtUtils;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 总的配置类，包括了所有的配置，如验证码的配置等等
 * @author 陈栋
 * @create 2021/9/4 10:39
 */
@ConfigurationProperties(prefix = "cd.university")
@Data
public class SecurityProperties {

    /**
     * 验证码的配置类
     */
    private ValidateCodeProperties code = new ValidateCodeProperties();

    /**
     * jwtToken
     */
    private JwtProperties jwt = new JwtProperties();

}
